package com.jk.bgmainconsumer.controller;

import com.jk.bgmainconsumer.entity.AdmEntity;
import com.jk.bgmainconsumer.service.AdmService;
import com.jk.bgmainconsumer.utils.CheckImgUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @描述 管理员登录
 * @参数 $
 * @返回值 $
 * @创建人 lgf
 * @创建时间 $
 * @修改人和其它信息
 */
@RestController
@RequestMapping("admlogin")
public class AdmController {
    @Autowired
    private AdmService admService;

    @RequestMapping("login")
    public Object login(AdmEntity adm){

        return admService.login(adm);
    }




}
